package app;

import repository.IRepositories;
import repositoryXML.RepositoriesXML;

public final class AppInstance {
	
	private static AppInstance instance = null;
	private IRepositories repositories;
	
	
	private AppInstance(){
		repositories = new RepositoriesXML();
	}
	
	public static AppInstance getInstance(){
		if(instance == null){
			instance = new AppInstance();
		}
		
		return instance;
	}

	public IRepositories getRepositories() {
		return repositories;
	}	
}
